<?
include($_SERVER[DOCUMENT_ROOT].'/admin/includes/appInit.php');
include($_SERVER[DOCUMENT_ROOT].'/admin/includes/ajax/ajaxExports.php');
if ($_GET['export'] == 'members') {
	exportMembers();
} elseif ($_GET['export'] == 'registered') {
	$eventID = $_GET['eventID'];
	exportEventRegistrants($eventID);
}
?>
